package com.xiao.hao.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xiao.hao.constant.SuperEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;


/**
 * @Description 用户档案表 实体类层
 * @Author xiaohao
 * @Date 2025-03-14 16:55:40
 */
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Data
@TableName(value = "xh_user_info_file", autoResultMap = true)
public class XhUserInfoFile extends SuperEntity {
    @ApiModelProperty("主键id")
    @TableId("user_info_file_id")
    private Long id;

    @ApiModelProperty("用户id")
    @TableField("user_info_id")
    private Long userInfoId;

    @ApiModelProperty("是否是注册用户 1: 是 0：否")
    @TableField("status")
    private Integer status;

    @ApiModelProperty("用户昵称")
    @TableField("nick_name")
    private String nickName;

    @ApiModelProperty("手机号码")
    @TableField("mobile")
    private String mobile;

    @ApiModelProperty("真实姓名")
    @TableField("name")
    private String name;

    @ApiModelProperty("年龄")
    @TableField("age")
    private Integer age;

    @ApiModelProperty("0:男，1：女")
    @TableField("sex")
    private Integer sex;

    @ApiModelProperty("头像地址")
    @TableField("head_url")
    private String headUrl;

    @ApiModelProperty("身体质量指数")
    @TableField("bmi")
    private Double bmi;

    @ApiModelProperty("BMI健康状态")
    @TableField("bmi_status")
    private String bmiStatus;

    @ApiModelProperty("身份证件号")
    @TableField("id_card")
    private String idCard;


    @ApiModelProperty("是否默认1：是，0：否")
    @TableField("type")
    private Integer type;

    @ApiModelProperty("是否默认1：是，0：否")
    @TableField("character_type_enum")
    private Integer characterTypeEnum;

}



